<template>
    <div>
        {{title}}
    </div>
</template>

<script>
import {mapState} from 'vuex'
export default {
  computed:{
    //   title(){
    //       return  this.$store.state.NavTitleHook.title
    //   }
    ...mapState({
        title:state=>state.NavTitleHook.title
    })
  }
}
</script>

<style>

</style>